package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.model.dao.console.UserUpperVoiceRoomDO;
import com.qumitech.visualnovel.pubdef.dto.voiceroom.query.VoiceRoomUserUpperQueryDTO;

import java.util.List;

public interface UserUpperVoiceRoomDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserUpperVoiceRoomDO record);

    int insertSelective(UserUpperVoiceRoomDO record);

    UserUpperVoiceRoomDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserUpperVoiceRoomDO record);

    int updateByPrimaryKey(UserUpperVoiceRoomDO record);

    List<UserUpperVoiceRoomDO> listUserUpperVoiceRoom(VoiceRoomUserUpperQueryDTO voiceRoomUserUpperQueryDTO);

    Integer countUserUpperVoiceRoom(VoiceRoomUserUpperQueryDTO voiceRoomUserUpperQueryDTO);

    Long getUserUpperNumber(VoiceRoomUserUpperQueryDTO voiceRoomUserUpperQueryDTO);

    Long getUserUpperDuration(VoiceRoomUserUpperQueryDTO voiceRoomUserUpperQueryDTO);
}